net: protect status led access in bootp
authorThomas Chou <[email protected]>
Tue, 25 Aug 2015 12:54:24 +0000 (20:54 +0800)
committerJoe Hershberger <[email protected]>
Wed, 28 Oct 2015 19:45:09 +0000 (14:45 -0500)
commit829533287afbc2aff2b8c65eb0cbf8f8ee887ae2
treef523565cab0806d3e1834d89a6ed9d31eae7db57
parent214dc1da4aa90c40e653c4daa097290fd61b3f10
net: protect status led access in bootp

This fixes the error when STATUS_LED_BOOT is not defined.

Signed-off-by: Thomas Chou <[email protected]>
Acked-by: Joe Hershberger <[email protected]>
net/bootp.c